﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharePoint2007Migration.Managers;
using SharePoint2007Migration.Attributes;

namespace SharePoint2007Migration.Domain
{
    public class Feature : BaseDataObject
    {

        string _defintion;

        [DisplayProperty("Feature definition")]
        public string Definition
        {
            get { return _defintion; }

            set 
            {
               // _defintion = FormatXml(value);
                _defintion = value;
            }
        }

        [DisplayProperty("Feature scope")]
        public SharePointScope Scope
        {
            get;
            set;
        }

        [DisplayProperty("Installed Url")]
        public string InstalledUrl
        {
            get;
            set;
        }


        [DisplayProperty("Feature Id")]
        public Guid ID { get; set; }
    }
}
